/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const smsRouter = {
  path: '/sms',
  component: Layout,
  redirect: '/contract/complex-table',
  name: 'venue',
  meta: {
    title: '短信管理',
    icon: 'sms'
  },
  children: [{
    path: 'smsSetting',
    component: () => import('@/views/sms/smsSetting'),
    name: '自动发送短信配置',
    meta: {
      title: 'smsSetting'
    }
  },
  //   {
  // 	path: 'smsTopUp',
  // 	component: () => import('@/views/sms/smsTopUp'),
  // 	name: '充值',
  // 	meta: {
  // 		title: 'smsTopUp'
  // 	}
  // },{
  // 	path: 'smsBuy',
  // 	component: () => import('@/views/sms/smsBuy'),
  // 	name: '充值',
  // 	hidden: true,
  // 	meta: {
  // 		title: 'smsBuy',
  // 		activeMenu: '/sms/smsTopUp'
  // 	}
  // },{
  // 	path: 'smsRecord',
  // 	component: () => import('@/views/sms/smsRecord'),
  // 	name: '充值记录',
  // 	meta: {
  // 		title: 'smsRecord'
  // 	}
  // },
  {
    path: 'smsSendRecord',
    component: () => import('@/views/sms/smsSendRecord'),
    name: '短信发送记录',
    meta: {
      title: 'smsSendRecord'
    }
  }]
}
export default smsRouter
